0b8c2e71937e7f47b66b0dad2bfea95619c17e0e,javatests/org/chromium/distiller/EmbedExtractorTest.java,EmbedExtractorTest,testYouTubeExtractor,#,21

Before Change


        youtube.setAttribute("src", "http://www.youtube.com/embed/M7lc1UVf-VE?autoplay=1");

        EmbedExtractor extractor = new YouTubeExtractor();
        WebEmbed result = extractor.extract(youtube);

        // Check YouTube specific attributes
        assertNotNull(result);

After Change


        youtube.setAttribute("src", "http://www.youtube.com/embed/M7lc1UVf-VE?autoplay=1");

        EmbedExtractor extractor = new YouTubeExtractor();
        WebEmbed result = (WebEmbed) extractor.extract(youtube);

        // Check YouTube specific attributes
        assertNotNull(result);